import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import AboutView from "@/views/AboutView.vue";
import AboutUser from "@/views/AboutUser.vue";
import AboutLogo from "@/views/AboutLogo.vue";
import KtTalk from "@/views/KtTalk.vue";
import PestSearch from "@/views/PestSearch.vue";
import UserSpace from "@/views/UserSpace.vue";

const routes = [
  {
    path: '/',
    component: HomeView
  },
  {
    path: '/about',
    component: AboutView
  },
  {
    path: '/logo',
    component:AboutLogo
  },
  {
    path: '/talk',
    component:KtTalk
  },
  {
    path: '/pest',
    component:PestSearch
  },
  {
    path: '/user',
    component:AboutUser
  },
  {
    path:'/user/user_space',
    component: UserSpace
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
